home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-05 | 2.5 KB | 99 lines | [TEXT/MPS ] |
- #
- # LowerToUpperCase.make
- #
- # MPW makefile for LowerToUpperCase translation extension
- #
- # Copyright © 1994,1998 Apple Computer, Inc. All rights reserved.
- #
- #
- # Modified from LowerToUpperCaseScrap
- # R.Silva 8/23/95
- #
- AppName = LowerToUpperCase
- Creator = 'M&Ms'
- Type = 'thng'
-
- SymOpt = on # Set to "on" to build a debuggable version.
-
- Source_Folder = :
-
- Objects = ":Interim Result:"
-
- {Objects} ƒ {Source_Folder}
-
- Sources = LowerToUpperCase.c
-
- Resources = {AppName}.r ∂
- thng.r ∂
- MPWGetResources.r
-
- PPC_Objects = {Objects}{AppName}.c.ppc.o ∂
- {Objects}RoutineDescriptorEntry.c.ppc.o ∂
- {Objects}TranslationComponent.c.ppc.o
-
- 68K_Objects = {Objects}{AppName}.c.68k.o ∂
- {Objects}TranslationComponent.c.68k.o
-
- PPCC_Options = -sym {SymOpt}
-
- C_Options = -i "{PPCCIncludes}" -w 17 -sym {SymOpt} # Use universal headers for 68K build.
-
- R_Options = -d UseExtendedThingResource=1 -d UNDERMPW=1 -i "{CIncludes}"
-
- PPC_Libraries = "{SharedLibraries}"InterfaceLib ∂
- "{SharedLibraries}"StdCLib ∂
- "{PPCLibraries}"StdCRuntime.o ∂
- "{PPCLibraries}"PPCCRuntime.o ∂
- "{SharedLibraries}"TranslationLib
-
- 68K_Libraries = "{Libraries}"MacRuntime.o ∂
- "{Libraries}"Interface.o
-
- PPC_LibEquates = -l InterfaceLib.xcoff=InterfaceLib ∂
- -l StdCLib.xcoff=StdCLib ∂
- -l MathLib.xcoff=MathLib
-
- Makefile = {AppName}.make
-
- C = SC
-
- PEF_Options = -b -x
-
- PPCC = MrC
-
- {AppName} ƒ {Objects}{AppName}.pef {Objects}{AppName}68KMPW.rsrc
- Rez {Resources} -a -i {Objects} -o {AppName} {R_Options}
- SetFile {AppName} -a Bi -t thng -c M&Ms
-
- {Objects}{AppName}.pef ƒƒ {Objects}{AppName}.xcoff {Resources}
- makepef {PEF_Options} ∂
- {Objects}{AppName}.xcoff ∂
- {PPC_LibEquates} ∂
- -o {Targ}
-
- {Objects}{AppName}.xcoff ƒƒ {PPC_Objects}
- PPCLink ∂
- {PPC_Objects} ∂
- {PPC_Libraries} ∂
- -sym {SymOpt} -w ∂
- -outputFormat xcoff ∂
- -main MainRD ∂
- -o {Targ}
-
- {Objects}{AppName}68KMPW.rsrc ƒƒ {68K_Objects} {Resources}
- Link -d -t rsrc -c RSED ∂
- {68K_Objects} ∂
- {68K_Libraries} ∂
- -sym {SymOpt} ∂
- -m MAIN ∂
- -sg "68K Code Resource" -t rsrc -c RSED ∂
- -rt xlat=128 ∂
- -o {Targ}
-
- .c.ppc.o ƒ .c {Makefile} # Whenever the Makefile changes, all .o's get built.
- {PPCC} {PPCC_Options} {default}.c -o {Targ}
-
- .c.68k.o ƒ .c {Makefile} # Whenever the Makefile changes, all .o's get built.
- {C} {C_Options} {default}.c -o {Targ}
-
-